package com.taojie.graduation.service.api;

import com.taojie.graduation.domain.User;
import com.taojie.graduation.utils.Result;

public interface UserService {
    Result findUserPage(int page, int size, String query);

    Result findUserById(Integer id);

    Result updateUserById(User user);

    Result deleteUserById(Integer id);

    Result insertUser(User user);

    User findByRealName(String realName);

    User findByNickName(String nickName);
}
